package com.youkeyi.ddy.cloud.common.api.basic.pub.tag.dto;

import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * PublicTagTreeItemCloudDto
 *
 * @Author liuxiawang
 * @Date 2024/3/7 11:07 AM
 * @Location shenzhen.china
 */
@Data
public class PublicTagTreeItemCloudDto extends ResponseContent {
    public PublicTagTreeItemCloudDto() {
    }

    public PublicTagTreeItemCloudDto(boolean success, String message) {
        super(success, message);
    }

    private String tagPrimaryKey;

    /**
     * 编号
     */
    private String tagCode;

    /**
     * 标签名
     */
    private String name;

    /**
     * 父级标签Key
     */
    private String parentKey;

    /**
     * 标签封面
     */
    private String icon;

    /**
     * 标签显示颜色
     */
    private String iconColor;

    /**
     * 服务描述
     */
    private String desc;

    /**
     * 备注
     */
    private String remark;

    /**
     * 子标签节点
     */
    private List<PublicTagTreeItemCloudDto> tagItems = new ArrayList<>();
}
